Modifier and Type | Method and Description |
---|---|
abstract java.util.List<? extends NB3Action> |
NB3Algorithm.branch2actions(java.util.List<NB3Node> branch)
Converts NodeLabels into Actions.
|
java.util.ArrayList<? extends NB3Action> |
NB3Proposal.getActions() |
java.util.List<? extends NB3Action> |
NB3Message.getActions() |
Modifier and Type | Method and Description |
---|---|
abstract java.util.List<java.lang.Object> |
NB3Algorithm.actions2Labels(java.util.List<? extends NB3Action> actions)
Converts the actions of an incoming message into a list of labels that can be added to the tree.
|
abstract boolean |
NB3WorldState.isLegal(java.util.List<? extends NB3Action> actions) |
abstract void |
NB3WorldState.update(java.util.List<? extends NB3Action> arrayList)
This method is called when a deal is confirmed
it lets the path act on the current world state
|
Constructor and Description |
---|
NB3Message(java.lang.String sender,
java.util.List<java.lang.String> receivers,
NB3Message.MsgType type,
java.util.List<? extends NB3Action> actions,
java.lang.String proposalID)
Constructor to create a message object that can be understood by the NB3 algorithm.
|